package com.ityedao.抽象类的应用模板方法设计模式;

public class Test {
    public static void main(String[] args) {
        Teacher t = new Teacher();
        t.write();

        Student s = new Student();
        t.write();
    }
}
